import 'package:flutter/material.dart';
import 'package:star_author/widgets/custom_button/go_back_button.dart';

import 'custom_app_bar.dart';

/// 标题+返回按键的Appbar
class CustomAppBarSimple extends CustomAppBar {
  CustomAppBarSimple(
    String title, {
    Color color = Colors.black,
  }) : super(
          Text(title),
          leading: GoBackButton(
            color: color,
          ),
        );
}
